package org.ssm.service;

import org.smm.pojo.BookEntry;

import java.util.List;

public interface BookService {
    int save(BookEntry bookEntry);
    int delete(int id);
    int update(BookEntry bookEntry);
    BookEntry getOneBook(int id);//得到一条数据

    int getRecordCount(BookEntry bookEntry);//得到总记录数
    List<BookEntry> getBookListByPage(BookEntry bookEntry);//得到所有数据


}
